package com.yisu.auction.manager.core.service;

import com.yisu.auction.ewf.common.web.EasyUIGrid;
import com.yisu.auction.ewf.entity.SystemNotice;
import com.yisu.auction.manager.domain.request.SystemNoticePackage.SystemNoticeRequest;

/**
 * author: 黄萧林
 * Business Description：
 * createTime：2017/8/31
 */
public interface ISystemNoticeService {

    /**
     * author:黄萧林
     * Business Description:获取系统公告信息
     * @param systemNoticeRequest
     * @return
     */
    EasyUIGrid<SystemNotice> getSystemNoticeInfoByPage(SystemNoticeRequest systemNoticeRequest);

    /**
     * author:黄萧林
     * Business Description:添加/编辑系统公告信息
     * @return
     */
    boolean modifySystemNoticeInfo(SystemNotice systemNotice);


    /**
     * author:黄萧林
     * Business Description:删除公告信息
     * @return
     */
    boolean deleteSystemNoticeInfo(Long id);

    /**
     * author:黄萧林
     * Business Description:获取一条数据
     * @param id
     * @return
     */
    SystemNotice getSystemNotice(Long id);
}
